<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- Copyright © 1988-2023 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being "Funding Free Software", the Front-Cover
Texts being (a) (see below), and with the Back-Cover Texts being (b)
(see below).  A copy of the license is included in the section entitled
"GNU Free Documentation License".

(a) The FSF's Front-Cover Text is:

A GNU Manual

(b) The FSF's Back-Cover Text is:

You have freedom to copy and modify this GNU Manual, like GNU
     software.  Copies published by the Free Software Foundation raise
     funds for GNU development. -->
<title>Subdirectories (GNU Compiler Collection (GCC) Internals)</title>

<meta name="description" content="Subdirectories (GNU Compiler Collection (GCC) Internals)">
<meta name="keywords" content="Subdirectories (GNU Compiler Collection (GCC) Internals)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">

<link href="index.html" rel="start" title="Top">
<link href="Option-Index.html" rel="index" title="Option Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="gcc-Directory.html" rel="up" title="gcc Directory">
<link href="Configuration.html" rel="next" title="Configuration">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
span:hover a.copiable-link {visibility: visible}
-->
</style>


</head>

<body lang="en">
<div class="subsection-level-extent" id="Subdirectories">
<div class="nav-panel">
<p>
Next: <a href="Configuration.html" accesskey="n" rel="next">Configuration in the <samp class="file">gcc</samp> Directory</a>, Up: <a href="gcc-Directory.html" accesskey="u" rel="up">The <samp class="file">gcc</samp> Subdirectory</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h4 class="subsection" id="Subdirectories-of-gcc"><span>6.3.1 Subdirectories of <samp class="file">gcc</samp><a class="copiable-link" href="#Subdirectories-of-gcc"> &para;</a></span></h4>

<p>The <samp class="file">gcc</samp> directory contains the following subdirectories:
</p>
<dl class="table">
<dt><samp class="file"><var class="var">language</var></samp></dt>
<dd><p>Subdirectories for various languages.  Directories containing a file
<samp class="file">config-lang.in</samp> are language subdirectories.  The contents of
the subdirectories <samp class="file">c</samp> (for C), <samp class="file">cp</samp> (for C++), <samp class="file">m2</samp>
(for Modula-2),
<samp class="file">objc</samp> (for Objective-C), <samp class="file">objcp</samp> (for Objective-C++),
and <samp class="file">lto</samp> (for LTO) are documented in this
manual (see <a class="pxref" href="Passes.html">Passes and Files of the Compiler</a>);
those for other languages are not.  See <a class="xref" href="Front-End.html">Anatomy of a Language Front End</a>, for details of the files in these
directories.
</p>
</dd>
<dt><samp class="file">common</samp></dt>
<dd><p>Source files shared between the compiler drivers (such as
<code class="command">gcc</code>) and the compilers proper (such as <samp class="file">cc1</samp>).  If an
architecture defines target hooks shared between those places, it also
has a subdirectory in <samp class="file">common/config</samp>.  See <a class="xref" href="Target-Structure.html">The Global <code class="code">targetm</code> Variable</a>.
</p>
</dd>
<dt><samp class="file">config</samp></dt>
<dd><p>Configuration files for supported architectures and operating
systems.  See <a class="xref" href="Back-End.html">Anatomy of a Target Back End</a>, for
details of the files in this directory.
</p>
</dd>
<dt><samp class="file">doc</samp></dt>
<dd><p>Texinfo documentation for GCC, together with automatically generated
man pages and support for converting the installation manual to
HTML.  See <a class="xref" href="Documentation.html">Building Documentation</a>.
</p>
</dd>
<dt><samp class="file">ginclude</samp></dt>
<dd><p>System headers installed by GCC, mainly those required by the C
standard of freestanding implementations.  See <a class="xref" href="Headers.html">Headers
Installed by GCC</a>, for details of when these and other headers are
installed.
</p>
</dd>
<dt><samp class="file">po</samp></dt>
<dd><p>Message catalogs with translations of messages produced by GCC into
various languages, <samp class="file"><var class="var">language</var>.po</samp>.  This directory also
contains <samp class="file">gcc.pot</samp>, the template for these message catalogues,
<samp class="file">exgettext</samp>, a wrapper around <code class="command">gettext</code> to extract the
messages from the GCC sources and create <samp class="file">gcc.pot</samp>, which is run
by &lsquo;<samp class="samp">make gcc.pot</samp>&rsquo;, and <samp class="file">EXCLUDES</samp>, a list of files from
which messages should not be extracted.
</p>
</dd>
<dt><samp class="file">testsuite</samp></dt>
<dd><p>The GCC testsuites (except for those for runtime libraries).
See <a class="xref" href="Testsuites.html">Testsuites</a>.
</p></dd>
</dl>

</div>
<hr>
<div class="nav-panel">
<p>
Next: <a href="Configuration.html">Configuration in the <samp class="file">gcc</samp> Directory</a>, Up: <a href="gcc-Directory.html">The <samp class="file">gcc</samp> Subdirectory</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html" title="Index" rel="index">Index</a>]</p>
</div>



</body>
</html>
